<script setup>
import MainHeader from "./TheHeader.vue";
import MainLeft from "./TheLeft/index.vue";
import MainRight from "./TheRight/index.vue";
import MainMap from "./TheMap/index.vue";
</script>

<template>
  <div class="main">
    <MainHeader class="main-header" />
    <MainLeft class="main-left" />
    <MainRight class="main-right" />
    <MainMap class="main-map" />
  </div>
</template>

<style lang="scss" scoped>
.main {
  position: relative;
  width: 1920px;
  height: 1080px;
  background-color: pink;
  
  .main-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
  }

  .main-left, .main-right {
    position: absolute;
    top: 80px;
    z-index: 2;
  }

  .main-left {
    left: 10px;
    cursor: pointer;
  }

  .main-right {
    right: 10px;
  }

  .main-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
}
</style>
